home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000248_news@newsmaster….columbia.edu _Mon Jul 6 17:08:43 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA21532
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 6 Jul 1998 17:08:42 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA09779
  7.     for kermit.misc@watsun; Mon, 6 Jul 1998 17:08:42 -0400 (EDT)
  8. Path: news.columbia.edu!panix!howland.erols.net!newspeer.monmouth.com!uunet!in1.uu.net!news.ra.rockwell.com!sjanich@mke.ab.com
  9. From: Petre Scheie <pmscheie@ra.rockwell.com>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: sending commands to CONNECT
  12. Date: Mon, 06 Jul 1998 14:06:35 -0500
  13. Organization: Rockwell Automation-DataMyte
  14. Lines: 23
  15. Message-ID: <35A1203B.165AF584@ra.rockwell.com>
  16. NNTP-Posting-Host: 130.151.18.141
  17. Mime-Version: 1.0
  18. Content-Type: text/plain; charset=us-ascii
  19. Content-Transfer-Encoding: 7bit
  20. X-Mailer: Mozilla 4.04 [en] (Win95; I)
  21. Xref: news.columbia.edu comp.protocols.kermit.misc:8947
  22.  
  23. I'm using Kermit to talk to a device that monitors who goes in and out
  24. of the building.  The device is designed to talk to a terminal, so I've
  25. got a Linux box connected to it.  Everything works fine if I connect to
  26. the device with Kermit and issue commands to the device when in CONNECT
  27. mode. I can run some reports and the output from those scrolls across
  28. the screen and are sent to a session log file.  But I want to use a cron
  29. job to run the reports.  I've got the commands all in a file and they
  30. seem to get sent to the device, but until I CONNECT, the output from the
  31. deivce doesn't seem to go anywhere.  If I send the command file to the
  32. device, then do a CONNECT, all the commands and responses appear on the
  33. screen, as if they are buffered somewhere.  If I turn the session log on
  34. I can capture this to a file.  But to automate this I need to be able to
  35. then send a Ctrl-\C to Kermit to get back to command mode.  Anyone know
  36. how to do this?  Or have any idea about why I can't redirect the output
  37. from the device that seems to be coming to Kermit into a file?  I've
  38. tried some redirection to files, but nothing ever gets there.  The only
  39. way I've been able to get the output to a file is with the LOG SESS FILE
  40. command, but CONNECT has to be used for that to work, and then I'm back
  41. to my original problem.  Thanks for any help.
  42.  
  43. Petre Scheie
  44. pmscheie@ra.rockwell.com
  45.